<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>集合 | Swift 简介</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.1.0">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
    

        
    
    
    <link rel="next" href="./08-func.html" />
    
    
    <link rel="prev" href="./06-string.html" />
    

        
    </head>
    <body>
        
        
    <div class="book" data-level="0.7" data-basepath="." data-revision="Fri Aug 28 2015 04:40:56 GMT+0800 (CST)">
    

<div class="book-summary">
    <div class="book-search">
        <input type="text" placeholder="Type to search" class="form-control" />
    </div>
    <ul class="summary">
        
        
        
        

        

        
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                        <i class="fa fa-check"></i>
                        
                        Swift快速入门
                    </a>
                
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="0.1" data-path="01-playground.html">
            
                
                    <a href="./01-playground.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.1.</b>
                        
                        Playground
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.2" data-path="02-var_and_let.html">
            
                
                    <a href="./02-var_and_let.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.2.</b>
                        
                        变量和常量
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.3" data-path="03-optional.html">
            
                
                    <a href="./03-optional.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.3.</b>
                        
                        Optional可选值
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.4" data-path="04-control_flow.html">
            
                
                    <a href="./04-control_flow.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.4.</b>
                        
                        控制流
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.5" data-path="05-loop.html">
            
                
                    <a href="./05-loop.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.5.</b>
                        
                        循环
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.6" data-path="06-string.html">
            
                
                    <a href="./06-string.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.6.</b>
                        
                        字符串
                    </a>
                
            
            
        </li>
    
        <li class="chapter active" data-level="0.7" data-path="07-collection.html">
            
                
                    <a href="./07-collection.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.7.</b>
                        
                        集合
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.8" data-path="08-func.html">
            
                
                    <a href="./08-func.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.8.</b>
                        
                        函数
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.9" data-path="09-closure.html">
            
                
                    <a href="./09-closure.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.9.</b>
                        
                        闭包
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.10" data-path="10-init_func.html">
            
                
                    <a href="./10-init_func.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.10.</b>
                        
                        构造函数
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.11" data-path="11-lazy.html">
            
                
                    <a href="./11-lazy.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.11.</b>
                        
                        懒加载 &amp; didSet
                    </a>
                
            
            
        </li>
    
        <li class="chapter " data-level="0.12" data-path="12-ats.html">
            
                
                    <a href="./12-ats.html">
                        <i class="fa fa-check"></i>
                        
                            <b>0.12.</b>
                        
                        ATS
                    </a>
                
            
            
        </li>
    

            </ul>
            
        </li>
    


        
        <li class="divider"></li>
        <li>
            <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                Published with GitBook
            </a>
        </li>
        
    </ul>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header">
    <!-- Actions Left -->
    <a href="#" class="btn pull-left toggle-summary" aria-label="Table of Contents"><i class="fa fa-align-justify"></i></a>
    <a href="#" class="btn pull-left toggle-search" aria-label="Search"><i class="fa fa-search"></i></a>
    
    <div id="font-settings-wrapper" class="dropdown pull-left">
        <a href="#" class="btn toggle-dropdown" aria-label="Font Settings"><i class="fa fa-font"></i>
        </a>
        <div class="dropdown-menu font-settings">
    <div class="dropdown-caret">
        <span class="caret-outer"></span>
        <span class="caret-inner"></span>
    </div>

    <div class="buttons">
        <button type="button" id="reduce-font-size" class="button size-2">A</button>
        <button type="button" id="enlarge-font-size" class="button size-2">A</button>
    </div>

    <div class="buttons font-family-list">
        <button type="button" data-font="0" class="button">Serif</button>
        <button type="button" data-font="1" class="button">Sans</button>
    </div>

    <div class="buttons color-theme-list">
        <button type="button" id="color-theme-preview-0" class="button size-3" data-theme="0">White</button>
        <button type="button" id="color-theme-preview-1" class="button size-3" data-theme="1">Sepia</button>
        <button type="button" id="color-theme-preview-2" class="button size-3" data-theme="2">Night</button>
    </div>
</div>

    </div>

    <!-- Actions Right -->
    
    <div class="dropdown pull-right">
        <a href="#" class="btn toggle-dropdown" aria-label="Share"><i class="fa fa-share-alt"></i>
        </a>
        <div class="dropdown-menu font-settings dropdown-left">
            <div class="dropdown-caret">
                <span class="caret-outer"></span>
                <span class="caret-inner"></span>
            </div>
            <div class="buttons">
                <button type="button" data-sharing="twitter" class="button">
                    Share on Twitter
                </button>
                <button type="button" data-sharing="google-plus" class="button">
                    Share on Google
                </button>
                <button type="button" data-sharing="facebook" class="button">
                    Share on Facebook
                </button>
                <button type="button" data-sharing="weibo" class="button">
                    Share on Weibo
                </button>
                <button type="button" data-sharing="instapaper" class="button">
                    Share on Instapaper
                </button>
            </div>
        </div>
    </div>
    

    
    <a href="#" target="_blank" class="btn pull-right google-plus-sharing-link sharing-link" data-sharing="google-plus" aria-label="Google"><i class="fa fa-google-plus"></i></a>
    
    
    <a href="#" target="_blank" class="btn pull-right facebook-sharing-link sharing-link" data-sharing="facebook" aria-label="Facebook"><i class="fa fa-facebook"></i></a>
    
    
    <a href="#" target="_blank" class="btn pull-right twitter-sharing-link sharing-link" data-sharing="twitter" aria-label="Twitter"><i class="fa fa-twitter"></i></a>
    
    
    


    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >Swift 简介</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="%E9%9B%86%E5%90%88">&#x96C6;&#x5408;</h1>
<h2 id="%E6%95%B0%E7%BB%84">&#x6570;&#x7EC4;</h2>
<ul>
<li>&#x6570;&#x7EC4;&#x4F7F;&#x7528; <code>[]</code> &#x5B9A;&#x4E49;&#xFF0C;&#x8FD9;&#x4E00;&#x70B9;&#x4E0E; OC &#x76F8;&#x540C;</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: [Int]</span>
<span class="hljs-keyword">let</span> numbers = [<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">3</span>, <span class="hljs-number">4</span>, <span class="hljs-number">5</span>, <span class="hljs-number">6</span>, <span class="hljs-number">7</span>, <span class="hljs-number">8</span>, <span class="hljs-number">9</span>, <span class="hljs-number">10</span>]
</code></pre>
<ul>
<li>&#x904D;&#x5386;</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-keyword">for</span> num <span class="hljs-keyword">in</span> numbers {
    <span class="hljs-built_in">print</span>(num)
}
</code></pre>
<ul>
<li>&#x901A;&#x8FC7;&#x4E0B;&#x6807;&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x9879;&#x5185;&#x5BB9;</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-keyword">let</span> num1 = numbers[<span class="hljs-number">0</span>]
<span class="hljs-keyword">let</span> num2 = numbers[<span class="hljs-number">1</span>]
</code></pre>
<ul>
<li>&#x53EF;&#x53D8;&amp;&#x4E0D;&#x53EF;&#x53D8;<ul>
<li><code>let</code> &#x5B9A;&#x4E49;&#x4E0D;&#x53EF;&#x53D8;&#x6570;&#x7EC4;</li>
<li><code>var</code> &#x5B9A;&#x4E49;&#x53EF;&#x53D8;&#x6570;&#x7EC4;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-keyword">let</span> array = [<span class="hljs-string">&quot;zhangsan&quot;</span>, <span class="hljs-string">&quot;lisi&quot;</span>]
<span class="hljs-comment">//: &#x4E0D;&#x80FD;&#x5411;&#x4E0D;&#x53EF;&#x53D8;&#x6570;&#x7EC4;&#x4E2D;&#x8FFD;&#x52A0;&#x5185;&#x5BB9;</span>
<span class="hljs-comment">//array.append(&quot;wangwu&quot;)</span>
<span class="hljs-keyword">var</span> array1 = [<span class="hljs-string">&quot;zhangsan&quot;</span>, <span class="hljs-string">&quot;lisi&quot;</span>]

<span class="hljs-comment">//: &#x5411;&#x53EF;&#x53D8;&#x6570;&#x7EC4;&#x4E2D;&#x8FFD;&#x52A0;&#x5185;&#x5BB9;</span>
array1.append(<span class="hljs-string">&quot;wangwu&quot;</span>)
</code></pre>
<ul>
<li>&#x6570;&#x7EC4;&#x7684;&#x7C7B;&#x578B;<ul>
<li>&#x5982;&#x679C;&#x521D;&#x59CB;&#x5316;&#x65F6;&#xFF0C;&#x6240;&#x6709;&#x5185;&#x5BB9;&#x7C7B;&#x578B;&#x4E00;&#x81F4;&#xFF0C;&#x62E9;&#x6570;&#x7EC4;&#x4E2D;&#x4FDD;&#x5B58;&#x7684;&#x662F;&#x8BE5;&#x7C7B;&#x578B;&#x7684;&#x5185;&#x5BB9;</li>
<li>&#x5982;&#x679C;&#x521D;&#x59CB;&#x5316;&#x65F6;&#xFF0C;&#x6240;&#x6709;&#x5185;&#x5BB9;&#x7C7B;&#x578B;&#x4E0D;&#x4E00;&#x81F4;&#xFF0C;&#x62E9;&#x6570;&#x7EC4;&#x4E2D;&#x4FDD;&#x5B58;&#x7684;&#x662F; <code>NSObject</code></li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: array1 &#x4EC5;&#x5141;&#x8BB8;&#x8FFD;&#x52A0; String &#x7C7B;&#x578B;&#x7684;&#x503C;</span>
<span class="hljs-comment">//array1.append(18)</span>

<span class="hljs-keyword">var</span> array2 = [<span class="hljs-string">&quot;zhangsan&quot;</span>, <span class="hljs-number">18</span>]
<span class="hljs-comment">//: &#x5728; Swift &#x4E2D;&#xFF0C;&#x6570;&#x5B57;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x6DFB;&#x52A0;&#x5230;&#x96C6;&#x5408;&#xFF0C;&#x4E0D;&#x9700;&#x8981;&#x518D;&#x8F6C;&#x6362;&#x6210; `NSNumber`</span>
array2.append(<span class="hljs-number">100</span>)
<span class="hljs-comment">//: &#x5728; Swift &#x4E2D;&#xFF0C;&#x5982;&#x679C;&#x5C06;&#x7ED3;&#x6784;&#x4F53;&#x5BF9;&#x8C61;&#x6DFB;&#x52A0;&#x5230;&#x96C6;&#x5408;&#xFF0C;&#x4ECD;&#x7136;&#x9700;&#x8981;&#x8F6C;&#x6362;&#x6210; `NSValue`</span>
array2.append(<span class="hljs-type">NSValue</span>(<span class="hljs-type">CGPoint</span>: <span class="hljs-type">CGPoint</span>(x: <span class="hljs-number">10</span>, y: <span class="hljs-number">10</span>)))
</code></pre>
<ul>
<li>&#x6570;&#x7EC4;&#x7684;&#x5B9A;&#x4E49;&#x548C;&#x5B9E;&#x4F8B;&#x5316;<ul>
<li>&#x4F7F;&#x7528; <code>:</code> &#x53EF;&#x4EE5;&#x53EA;&#x5B9A;&#x4E49;&#x6570;&#x7EC4;&#x7684;&#x7C7B;&#x578B;</li>
<li>&#x5B9E;&#x4F8B;&#x5316;&#x4E4B;&#x524D;&#x4E0D;&#x5141;&#x8BB8;&#x6DFB;&#x52A0;&#x503C;</li>
<li>&#x4F7F;&#x7528; <code>[&#x7C7B;&#x578B;]()</code> &#x53EF;&#x4EE5;&#x5B9E;&#x4F8B;&#x5316;&#x4E00;&#x4E2A;&#x7A7A;&#x7684;&#x6570;&#x7EC4;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-keyword">var</span> array3: [<span class="hljs-type">String</span>]
<span class="hljs-comment">//: &#x5B9E;&#x4F8B;&#x5316;&#x4E4B;&#x524D;&#x4E0D;&#x5141;&#x8BB8;&#x6DFB;&#x52A0;&#x503C;</span>
<span class="hljs-comment">//array3.append(&quot;laowang&quot;)</span>
<span class="hljs-comment">//: &#x5B9E;&#x4F8B;&#x5316;&#x4E00;&#x4E2A;&#x7A7A;&#x7684;&#x6570;&#x7EC4;</span>
array3 = [<span class="hljs-type">String</span>]()
array3.append(<span class="hljs-string">&quot;laowang&quot;</span>)
</code></pre>
<ul>
<li>&#x6570;&#x7EC4;&#x7684;&#x5408;&#x5E76;<ul>
<li>&#x5FC5;&#x987B;&#x662F;&#x76F8;&#x540C;&#x7C7B;&#x578B;&#x7684;&#x6570;&#x7EC4;&#x624D;&#x80FD;&#x591F;&#x5408;&#x5E76;</li>
<li>&#x5F00;&#x53D1;&#x4E2D;&#xFF0C;&#x901A;&#x5E38;&#x6570;&#x7EC4;&#x4E2D;&#x4FDD;&#x5B58;&#x7684;&#x5BF9;&#x8C61;&#x7C7B;&#x578B;&#x90FD;&#x662F;&#x4E00;&#x6837;&#x7684;&#xFF01;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift">array3 += array1

<span class="hljs-comment">//: &#x5FC5;&#x987B;&#x662F;&#x76F8;&#x540C;&#x7C7B;&#x578B;&#x7684;&#x6570;&#x7EC4;&#x624D;&#x80FD;&#x591F;&#x5408;&#x5E76;&#xFF0C;&#x4EE5;&#x4E0B;&#x4E24;&#x53E5;&#x4EE3;&#x7801;&#x90FD;&#x662F;&#x4E0D;&#x5141;&#x8BB8;&#x7684;</span>
<span class="hljs-comment">//array3 += array2</span>
<span class="hljs-comment">//array2 += array3</span>
</code></pre>
<ul>
<li>&#x6570;&#x7EC4;&#x7684;&#x5220;&#x9664;</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: &#x5220;&#x9664;&#x6307;&#x5B9A;&#x4F4D;&#x7F6E;&#x7684;&#x5143;&#x7D20;</span>
array3.removeAtIndex(<span class="hljs-number">3</span>)
<span class="hljs-comment">//: &#x6E05;&#x7A7A;&#x6570;&#x7EC4;</span>
array3.removeAll()
</code></pre>
<ul>
<li>&#x5185;&#x5B58;&#x5206;&#x914D;<ul>
<li>&#x5982;&#x679C;&#x5411;&#x6570;&#x7EC4;&#x4E2D;&#x8FFD;&#x52A0;&#x5143;&#x7D20;&#xFF0C;&#x8D85;&#x8FC7;&#x4E86;&#x5BB9;&#x91CF;&#xFF0C;&#x4F1A;&#x76F4;&#x63A5;&#x5728;&#x73B0;&#x6709;&#x5BB9;&#x91CF;&#x57FA;&#x7840;&#x4E0A; * 2</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-keyword">var</span> list = [<span class="hljs-type">Int</span>]()

<span class="hljs-keyword">for</span> i <span class="hljs-keyword">in</span> <span class="hljs-number">0</span>...<span class="hljs-number">16</span> {
    list.append(i)
    <span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;&#x6DFB;&#x52A0; <span class="hljs-subst">\(i)</span> &#x5BB9;&#x91CF; <span class="hljs-subst">\(list.capacity)</span>&quot;</span>)
}
</code></pre>
<h2 id="%E5%AD%97%E5%85%B8">&#x5B57;&#x5178;</h2>
<ul>
<li>&#x5B9A;&#x4E49;<ul>
<li>&#x540C;&#x6837;&#x4F7F;&#x7528; <code>[]</code> &#x5B9A;&#x4E49;&#x5B57;&#x5178;</li>
<li><code>let</code> &#x4E0D;&#x53EF;&#x53D8;&#x5B57;&#x5178;</li>
<li><code>var</code> &#x53EF;&#x53D8;&#x5B57;&#x5178;</li>
<li><code>[String : NSObject]</code> &#x662F;&#x6700;&#x5E38;&#x7528;&#x7684;&#x5B57;&#x5178;&#x7C7B;&#x578B;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: [String : NSObject] &#x662F;&#x6700;&#x5E38;&#x7528;&#x7684;&#x5B57;&#x5178;&#x7C7B;&#x578B;</span>
<span class="hljs-keyword">var</span> dict = [<span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;zhangsan&quot;</span>, <span class="hljs-string">&quot;age&quot;</span>: <span class="hljs-number">18</span>]
</code></pre>
<ul>
<li>&#x8D4B;&#x503C;<ul>
<li>&#x8D4B;&#x503C;&#x76F4;&#x63A5;&#x4F7F;&#x7528; <code>dict[key] = value</code> &#x683C;&#x5F0F;</li>
<li>&#x5982;&#x679C; key &#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x8BBE;&#x7F6E;&#x65B0;&#x503C;</li>
<li>&#x5982;&#x679C; key &#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x8986;&#x76D6;&#x73B0;&#x6709;&#x503C;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: * &#x5982;&#x679C; key &#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x8BBE;&#x7F6E;&#x65B0;&#x503C;</span>
dict[<span class="hljs-string">&quot;title&quot;</span>] = <span class="hljs-string">&quot;boss&quot;</span>
<span class="hljs-comment">//: * &#x5982;&#x679C; key &#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x8986;&#x76D6;&#x73B0;&#x6709;&#x503C;</span>
dict[<span class="hljs-string">&quot;name&quot;</span>] = <span class="hljs-string">&quot;lisi&quot;</span>
dict
</code></pre>
<ul>
<li>&#x904D;&#x5386;<ul>
<li><code>k</code>&#xFF0C;<code>v</code> &#x53EF;&#x4EE5;&#x968F;&#x4FBF;&#x5199;</li>
<li>&#x524D;&#x9762;&#x7684;&#x662F; <code>key</code></li>
<li>&#x540E;&#x9762;&#x7684;&#x662F; <code>value</code></li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: &#x904D;&#x5386;</span>
<span class="hljs-keyword">for</span> (k, v) <span class="hljs-keyword">in</span> dict {
    <span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;<span class="hljs-subst">\(k)</span> ~~~ <span class="hljs-subst">\(v)</span>&quot;</span>)
}
</code></pre>
<ul>
<li>&#x5408;&#x5E76;&#x5B57;&#x5178;<ul>
<li>&#x5982;&#x679C; key &#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x5EFA;&#x7ACB;&#x65B0;&#x503C;&#xFF0C;&#x5426;&#x5219;&#x4F1A;&#x8986;&#x76D6;&#x73B0;&#x6709;&#x503C;</li>
</ul>
</li>
</ul>
<pre><code class="lang-swift"><span class="hljs-comment">//: &#x5408;&#x5E76;&#x5B57;&#x5178;</span>
<span class="hljs-keyword">var</span> dict1 = [<span class="hljs-type">String</span>: <span class="hljs-type">NSObject</span>]()
dict1[<span class="hljs-string">&quot;nickname&quot;</span>] = <span class="hljs-string">&quot;&#x5927;&#x8001;&#x864E;&quot;</span>
dict1[<span class="hljs-string">&quot;age&quot;</span>] = <span class="hljs-number">100</span>

<span class="hljs-comment">//: &#x5982;&#x679C; key &#x4E0D;&#x5B58;&#x5728;&#xFF0C;&#x4F1A;&#x5EFA;&#x7ACB;&#x65B0;&#x503C;&#xFF0C;&#x5426;&#x5219;&#x4F1A;&#x8986;&#x76D6;&#x73B0;&#x6709;&#x503C;</span>
<span class="hljs-keyword">for</span> (k, v) <span class="hljs-keyword">in</span> dict1 {
    dict[k] = v
}
<span class="hljs-built_in">print</span>(dict)
</code></pre>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./06-string.html" class="navigation navigation-prev " aria-label="Previous page: 字符串"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./08-func.html" class="navigation navigation-next " aria-label="Next page: 函数"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

<script>
require(["gitbook"], function(gitbook) {
    var config = {"fontSettings":{"theme":null,"family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
